#include "ShaderCommon.h"
#ifdef CPP
#pragma once
namespace fastbird {
#endif

cbuffer FRAME_CONSTANTS
	#ifndef CPP
		: register(b0)
	#endif
{
	float4x4 gViewProj;
	float4 gDirectionalLightDir_Intensity;
	float4 gDirectionalLightDiffuse;
	float4 gDirectionalLightSpecular;
	float4 gCameraPos;
};

cbuffer OBJECT_CONSTANTS
	#ifndef CPP
		: register (b1)
	#endif
{
	float4x4 gWorldViewProj;
};

cbuffer MATERIAL_CONSTANTS
	#ifndef CPP
		: register (b2)
	#endif
{
	float4 gAmbientColor;
	float4 gDiffuseColor;
	float4 gSpecularColor;
	float4 gEmissiveColor;
};

cbuffer MATERIAL_PARAMETERS
#ifndef CPP
	: register (b3)
#endif
{
	float4 gMaterialParam[5];
};

#ifdef CPP
}
#endif